function suspend(processInstanceId) {
	Ext.Msg.confirm("提示:", "确定挂起吗?", function(e) {
		if (e == "yes") {
			Ext.Ajax.request({
				url: "/fk-acti/instance/suspend?processInstanceId="+processInstanceId,
				success: function(response) {
					var result = Ext.JSON.decode(response.responseText);
					if(result.code==200){
						Ext.Msg.alert("提示", result.result);
					}else{
						Ext.Msg.alert("提示", result.message);
					}
					dataStore.load();
				},
				failure: function(response) {
					Ext.Msg.alert("提示", "操作失败!");
				}
			});
		}
	});
}
function gorun(processInstanceId) {
	Ext.Msg.confirm("提示:", "确定重新激活吗?", function(e) {
		if (e == "yes") {
			Ext.Ajax.request({
				url: "/fk-acti/instance/gorun?processInstanceId="+processInstanceId,
				success: function(response) {
					var result = Ext.JSON.decode(response.responseText);
					if(result.code==200){
						Ext.Msg.alert("提示", result.result);
					}else{
						Ext.Msg.alert("提示", result.message);
					}
					dataStore.load();
				},
				failure: function(response) {
					Ext.Msg.alert("提示", "操作失败!");
				}
			});
		}
	});
}
